package AddonsSheep3;

import AddonsSheepContoller.ASPlayer.Manager.ASAccountManagerCenter;
import AddonsSheepContoller.ASPlayer.Manager.ASBankManagerCenter;
import AddonsSheepContoller.ASPlayer.Manager.ASPlayerManagerCenter;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;

public final class ASheep3Core extends JavaPlugin {

    public static Class<? extends JavaPlugin> instanceClass;
    public static Plugin instancePlugin;

    // Manager centers
    public static ASPlayerManagerCenter asPlayerCenter;
    public static ASAccountManagerCenter asAccountCenter;
    public static ASBankManagerCenter asBankCenter;

    @Override
    public void onEnable() {
        // Init static values
        instanceClass = getClass();
        instancePlugin = getPlugin(getClass());
        asAccountCenter = new ASAccountManagerCenter();
        asBankCenter = new ASBankManagerCenter();
        asPlayerCenter = new ASPlayerManagerCenter();
    }

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }
}
